#include "GameMain.h"
int heroModel::getFlagId()
{
	return flagId;
}

void heroModel::setFlagId(int value)
{
	flagId = value;
}

int heroModel::getId()
{
	return id;
}

void heroModel::setId(int value)
{
	id = value;
}

int heroModel::getLevel()
{
	return level;
}

void heroModel::setLevel(int value)
{
	level = value;
}

int heroModel::getAttack()
{
	return attack;
}

void heroModel::setAttack(int value)
{
	attack = value;
}

int heroModel::getCurrentLife()
{
	return currentLife;
}

void heroModel::setCurrentLife(int value)
{
	currentLife = value;
}

int heroModel::getMaxLife()
{
	return maxLife;
}

void heroModel::setMaxLife(int value)
{
	maxLife = value;
}

int heroModel::getDefense()
{
	return defense;
}

void heroModel::setDefense(int value)
{
	defense = value;
}

int heroModel::getSpeed()
{
	return speed;
}

void heroModel::setSpeed(int value)
{
	speed = value;
}

int heroModel::getCrit()
{
	return crit;
}

void heroModel::setCrit(int value)
{
	crit = value;
}

int heroModel::getRange()
{
	return range;
}

void heroModel::setRange(int value)
{
	range = value;
}

float heroModel::getCurrentX()
{
	return currentX;
}

void heroModel::setCurrentX(float value)
{
	currentX = value;
}

float heroModel::getCurrentY()
{
	return currentY;
}

void heroModel::setCurrentY(float value)
{
	currentY = value;
}

bool heroModel::getComFlag()
{
	return comFlag;
}

void heroModel::setComFlag(bool value)
{
	comFlag = value;
}

vector<vector<float>> heroModel::getWay()
{
	return way;
}

void heroModel::setWay(vector<float> value)
{
	way.push_back(value);
}

int heroModel::GetAttackId()
{
	return attackId;
}
void heroModel::setAttackId(int value)
{
	attackId = value;
}

void heroModel::removeWay()
{
	way.pop_back();
}